* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

#root {
    max-width: 100%;
    overflow-x: hidden;
}

/* 确保所有内容区域不会超出屏幕 */
.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}